<template>
  <!-- router-view是占位组件,用来存放路由组件  -->
  <!-- 使用keep-alive将他包起来 -->
  <keep-alive :include="['Header', 'Tab']">
    <router-view></router-view>
  </keep-alive>
</template>

<script>
export default {
  name: "App",
  mounted() {
    console.log(this);
  },
};
</script>

<style>
</style>